home *** CD-ROM | disk | FTP | other *** search
/ Apple WWDC 1996 / WWDC96_1996 (CD).toast / Technology Materials / QuickTime VR / MacOS / QuickDraw™ 3D 1.0.6F4 SDK / Samples / SampleCode / Tumbler and Podium / Tumbler_file.h < prev    next >
Encoding:
Text File  |  1995-11-13  |  996 b   |  35 lines  |  [TEXT/MPS ]

  1. // Tumbler_file.h
  2. //
  3. // file related function prototypes for the Tumbler application
  4. //
  5. // Modification History
  6. //
  7. //    11/26/94        nick        initial cut - symantec proto_helper app, add defines
  8.  
  9.  
  10. #ifndef _Tumbler_FILE_H_
  11. #define _Tumbler_FILE_H_
  12.  
  13. // wrappers 
  14. void         DoNewDocument(void);
  15. OSErr         DoOpenFile(FSSpec *theFile);
  16. void         DoOpenDocument(DocumentPtr theDocument);
  17. Boolean     DoSaveAsDocument(DocumentPtr theDocument);
  18. Boolean     DidSaveDocument(DocumentPtr theDocument);
  19. void         DoRevertDocument(DocumentPtr theDocument);
  20. short         ReadDocumentFile(DocumentPtr theDocument, TQ3Boolean isText) ;
  21. PicHandle     OpenPICTFile( FSSpec *theFile ) ;
  22. void         DoImport3DMFDocument(DocumentPtr theDocument) ;
  23.  
  24. // metafile i/o routines
  25. TQ3Status     Tumbler_ReadScene(    TQ3FileObject    file, 
  26.                                     short            isText, 
  27.                                     TQ3SharedObject    *viewHints, 
  28.                                     TQ3Object        *model) ;
  29.                                     
  30. void         Tumbler_WriteScene(        TQ3FileObject        file,
  31.                                         short                textMode,
  32.                                         DocumentPtr         theDocument) ;
  33.  
  34. #endif
  35.